Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Port SPI changes from rp2040-hal to rp235x-hal #842

Merged
merged 1 commit into from
Aug 25, 2024

Conversation

jannic
Copy link
Member

@jannic jannic commented Aug 24, 2024

The updates from #831 were only applied to rp2040-hal.
This patch ports them to rp235x-hal.

The updates from rp-rs#831 were only applied to rp2040-hal.
This patch ports them to rp235x-hal.
@thejpster
Copy link
Member

What testing has been done? Should I run a demo and try it?

@jannic
Copy link
Member Author

jannic commented Aug 25, 2024

Only tested that it still builds.

The actual change is that it's now possible to call set_format without first disabling the peripheral. As I understand it from #831, the datasheet could be interpreted in a way that forbids this, but other implementations "in the wild" already do it so it's supposed to be fine. The wording is exactly identical in the RP235x datasheet.

@thejpster thejpster merged commit 2d815bf into rp-rs:main Aug 25, 2024
49 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants